public function getExamples() {
return array(
- 'api.php?action=compare&fromrev=1&torev=2' => 'Creates a diff between revision 1 and 2',
+ 'api.php?action=compare&fromrev=1&torev=2' => 'Create a diff between revision 1 and 2',
);
}
public function getExamples() {
return array(
- 'api.php?action=delete&title=Main%20Page&token=123ABC' => 'Deletes the Main Page',
- 'api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move' => 'Deletes the Main Page with the reason "Preparing for move"',
+ 'api.php?action=delete&title=Main%20Page&token=123ABC' => 'Delete the Main Page',
+ 'api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move' => 'Delete the Main Page with the reason "Preparing for move"',
);
}
public function getExamples() {
return array(
- 'api.php?action=emailuser&target=WikiSysop&text=Content' => 'Sends an email to the User "WikiSysop" with the text "Content"',
+ 'api.php?action=emailuser&target=WikiSysop&text=Content' => 'Send an email to the User "WikiSysop" with the text "Content"',
);
}
public function getExamples() {
return array(
'api.php?action=query&meta=siteinfo&siprop=namespaces&format=' . $this->getModuleName()
- => "Formats the query result in the {$this->getModuleName()} format",
+ => "Format the query result in the {$this->getModuleName()} format",
);
}
public function getExamples() {
return array(
- 'api.php?action=logout' => 'Logs the current user out',
+ 'api.php?action=logout' => 'Log the current user out',
);
}
public function getExamples() {
return array(
- 'api.php?action=purge&titles=Main_Page|API' => 'Purges the "Main Page" and the "API" page',
+ 'api.php?action=purge&titles=Main_Page|API' => 'Purge the "Main Page" and the "API" page',
);
}